package ${packageName}.entity;

import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.topxgun.core.web.BaseEntity;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @See 此处添加类注释
 *
 */
@ApiModel
@Document(collection="${table}")
public class ${className}Entity extends BaseEntity{

	/**
	 * (序列号)
	 */
	private static final long serialVersionUID = 1;

<#list attrs as item>
	@ApiModelProperty(value = "",allowEmptyValue=true)
	private ${item.type} ${item.attr};

</#list>


<#list attrs as item>
	public ${item.type} get${item.caseAttr}(){
		return ${item.attr};
	}

	public void set${item.caseAttr}(${item.type} ${item.attr}) {
		this.${item.attr} = ${item.attr};
	}
</#list>
}
